#ifndef STATUSLED_H
#define STATUSLED_H

#include <QDialog>
#include <QCheckBox>
#include "ycapi.h"
namespace Ui {
    class Statusled;
}

class Statusled : public QDialog {
    Q_OBJECT
public:
    Statusled(QWidget *parent = 0);
    ~Statusled();
     void SetMainBacklight();
     Ycapi *ycapi;

protected:
    void changeEvent(QEvent *e);

private:
    Ui::Statusled *ui;

private slots:

    void on_close_clicked();
    void on_ledOn_clicked();
    void on_LedOff_clicked();
};

#endif // STATUSLED_H
